#ifndef GAME_ANIMATION_GEOMETRY_GEOMETRY_VERTEX_H
#define GAME_ANIMATION_GEOMETRY_GEOMETRY_VERTEX_H
//
// Game Animation.
// Copyright (C) 2007 Department of Computer Science, University of Copenhagen
//
#include <animation/configuration.h>

namespace animation
{

  /**
   * A Geometry Vertex.
   * For simplicity and easy implementation we have hard-coded a
   * geometry vertex to be of this type. Regardless of whether the
   * geometry being rendered is using per-vertex colors or texture
   * coords.
   */
  template<typename types>
  class GeometryVertex
  {
  public:

    typedef typename types::vector2_type vector2_type;
    typedef typename types::vector3_type vector3_type;
    typedef typename types::vector4_type vector4_type;

  public:

    vector3_type m_coord;
    vector3_type m_normal;
    vector4_type m_color;
    vector2_type m_tex0;
    vector2_type m_tex1;
    vector4_type m_tex2;

  };

} // namespace animation

// GAME_ANIMATION_GEOMETRY_GEOMETRY_VERTEX_H
#endif
